<!--For 文本框、文本段落、图片、上传文件-->
<template>
          <el-form ref="form" :model="selectedCom" label-width="80px" style="margin-top:20px;position:relative">
          <el-form-item label="整体布局">
            <el-select v-model="selectedCom.layoutOption" placeholder="请选择">
              <el-option
              v-for="item in layoutOptions"
              :key="item"
              :label="item"
              :value="item">
              </el-option>
            </el-select>
          </el-form-item>
          <el-form-item label="label名称">
            <el-input v-model="selectedCom.labelName"></el-input>
          </el-form-item>
          <el-form-item label="label布局">
             <el-select v-model="selectedCom.labelLayout" placeholder="请选择">
              <el-option
              v-for="item in layoutOptions"
              :key="item"
              :label="item"
              :value="item">
              </el-option>
            </el-select>
          </el-form-item>
          <el-form-item label="控件布局">
             <el-select v-model="selectedCom.contentLayout" placeholder="请选择">
              <el-option
              v-for="item in layoutOptions"
              :key="item"
              :label="item"
              :value="item">
              </el-option>
            </el-select>
          </el-form-item>
        </el-form>
</template>

<script>
export default {
  data() {
    return {
       layoutOptions: [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12],
    };
  },
  props: {
    selectedCom: Object
  }
};
</script>
